home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tiger Disk 3
/
Tiger_Disk_003_1994-06_Tiger-Crew-Disk_de_Side_B.d64
/
dir._datei [tc]
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2023-02-26
|
4KB
|
145 lines
10 dimm$(100),n$(3500),n(3500):p=0:x=1:a=0
11 printchr$(8):poke53281,7:poke53272,20:goto280
15 n(p)=dn:e=len(m$(j)):return
20 open10,4,10:print#10:close10:return
30 getge$:ifge$<>"j"andge$<>"n"then30
40 return
60 print"[197]ingabe richtig ?"
70 gosub30
90 return
100 open15,c,15:input#15,aa,bb$,cc,dd
110 ifaa<>0thenprint" f e h l e r ! ":goto130
120 return
130 print,aa;bb$;cc;dd
140 gosub150:close2:close3:close15:return
150 poke198,0:wait198,1:poke198,0:return
160 input" [198]loppy-[193]dresse (8/9)";c$
170 c=val(c$):ifc<>8andc<>9thenprint"[145][145][145][145]":goto160
185 gosub60:ifge$="n"thenprint"[145][145][145][145][145][145][145]":goto160
190 print" [194]itte [196]isk in [204]aufwerk";c;"einlegen":print" und <[210][197][212][213][210][206]> druecken !"
200 getc$:ifc$<>chr$(13)then200
210 return
220 w=peek(768):open1,b:poke768,185:print#1:close1:poke768,w:ifst<>-128theny=0:return
230 ify=2theny=0:goto390
240 print" [194][201][212][212][197] [218][213][197][210][211][212] [196][210][213][195][203][197][210] [197][201][206][211][195][200][193][204][212][197][206] !":gosub150:y=y+1:goto220
250 w=peek(768):poke768,185:open1,c,15,"i":close1:poke768,w:ifst<>-128theny=0:return
260 ify=2theny=0:goto500
270 print" [194][201][212][212][197] [204][193][213][198][215][197][210][203] ";c;" [197][201][206][211][195][200][193][204][212][197][206] !":gosub150:y=y+1:goto250
280 print"[144][147] directory-liste"
290 print" (druck mit seikosha sl-80vc)"
300 print" [213][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][201]"
310 print" [194] by t i g e r - c r e w [194]"
320 print" [202][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][203]":gosub150:goto650
330 print "[147] [196]rucker eingeschaltet ?? "
340 gosub150
350 print" [144][196]ruck in [199]rossbuchstaben >[199]<"
360 print" oder in [203]leinbuchstaben >[203]<"
370 geti$:ifi$<>"k"andi$<>"g"then370
380 ifi$="k"thena=7
390 print" [196]ruckeradresse (4/5/6)";
400 getc$:ifc$<>"4"andc$<>"5"andc$<>"6"then400
410 b=val(c$):printb:gosub220
420 print" [195] [146] [207][206][196][197][211][197][196]":print"oder":print" [206] [146] [207][210][205][193][204] ?"
430 getw$:ifw$<>"c"andw$<>"n"then430
440 ifw$="c"thenopen13,4,13:print#13
450 open4,b,a:cmd4
460 o=1:foru=1tot
470 printspc(10)n$(u);spc(30-len(n$(u)))n(u):o=o+1
480 ifo=65thenforc=1to7:print" ":next:o=1
490 next:forc=oto71:print" ":next:print#4:close4:ifw$="c"thenclose13:gosub20
491 print"[147] [144][201]st der [196]ruck in [207]rdnung ?"
492 gosub30
493 ifge$="n"thenprint"[147]":goto350
495 return
500 gosub160
510 gosub250:poke53281,8:print"[147][144] [194]itte warten ! "
520 print" [196]irectory wird gelesen !"
530 open3,c,0,"$":get#3,x$,x$:k=1:su=1:gosub100:ifsu=1thensu=0:ifaa<>0then510
540 get#3,x$,x$,l$,h$:ifx$=""then570
550 get#3,a$:ifa$<>""thenm$(k)=m$(k)+a$:goto550
560 k=k+1:goto540
570 close3:close15:k=k-1
571 print"[147] [196][201][210][197][195][212][207][210][217] :"
580 forj=1tok:printm$(j):fore=15tolen(m$(j))
590 ifmid$(m$(j),e,5)=" prg "thenp=p+1:n$(p)=left$(m$(j),len(m$(j))-(28-e)):gosub15
600 nexte
610 nextj:gosub150:print"[147]":poke53281,0:poke646,7:print" [196][193][212][197][201]-[201][206][200][193][204][212] :"
620 forj=xtop:printn$(j);n(j)
630 next:gosub150:x=p+1
632 forj=1tok:m$(j)="":next
640 return
650 poke53272,23:poke53281,0:print"[147][155] [196][193][212][197][201] [197] [146] [201][160][206][160][210][160][201][160][195][160][200][160][212][160][197][160][206]":print" oder"
660 print" [196][193][212][197][201] [193] [146] [213][160][211][160][199][160][197][160][194][160][197][160][206] ?"
670 geted$:ifed$<>"e"anded$<>"a"then670
671 ifed$="e"thenprint" [197][201][206][210][201][195][200][212][197][206] [146]":gosub60:ifge$="n"then650
672 ifed$="a"thenprint" [193][213][211][199][197][194][197][206] [146]":gosub60:ifge$="n"then650
680 ifed$="a"then1000
690 print"[147]";
700 input"[196]isketten-[206]ummer ";dn$:gosub60:ifge$="n"then700
710 dn=val(dn$)
720 gosub500
730 poke53281,5:print"[147] [144][206]och ein [196]ir. lesen ? "
735 print"[198][210][197][201][197] [197][201][206][212][210][193][197][199][197]:";3000-p
740 gosub30
750 ifge$="j"then690
760 poke53281,2:print"[147][158] [197] [206][160][196][160][197][160][146] - [194]ist [196]u sicher ?"
770 gosub30
780 ifge$="n"thenpoke53281,5:goto690
790 poke53281,7:poke646,0
800 print"[147] [206] [146][197][160][213][160][197] [196]atei":print" oder":print" [196] [146][193][160][212][160][197][160][201] erweitern ?"
810 getda$:ifda$<>"n"andda$<>"d"then810
820 ifda$="n"thengosub160:goto930
830 print"[211]oll eine mit der '[212][201][199][197][210]-[196][193][212][197][201]'":print"eingerichte [196]atei erweitert werden ?"
840 gettd$:iftd$<>"j"andtd$<>"n"then840
850 iftd$="n"then890
860 input"[147] [144] [196]atei-[206]ame $[157][157][157]";na$
861 ifna$="$"thengosub1240:goto860
862 gosub60:ifge$="n"then860
870 gosub160:open2,c,2,na$+",s,a":sv=1:gosub100:ifsv=1thensv=0:ifaa<>0thenprint"[147]":goto860
880 goto940
890 input"[147] [196][193][212][197][201]-[206][213][205][205][197][210] $[157][157][157]";dt$
891 ifdt$="$"thengosub1240:goto890
892 gosub60:ifge$="n"then890
900 gosub160
910 open2,c,2,"disk-datei "+dt$+",s,a":sv=1:gosub100:ifsv=1thensv=0:ifaa<>0thenprint"[147]":goto890
920 goto940
930 open2,c,2,"disk-datei 1,s,w":sv=1:gosub100:ifsv=1thensv=0:ifaa<>0then800
940 forj=1top
950 ifn$(j)=""thenn$(j)="*":n(j)=0
960 print#2,n$(j)
970 print#2,n(j)
980 next
990 close2:close15:print"[147][144][206]eustart mit '[210][213][206]' !":end
1000 poke53281,12:input"[147] [144] [196]atei-[206]ame $[157][157][157]";df$
1010 ifdf$="$"thengosub1240:goto1000
1020 gosub60:ifge$="n"then1000
1030 gosub160:open2,c,2,df$+",s,r":sv=1:gosub100:ifsv=1thensv=0:ifaa<>0then1000
1040 t=1
1050 input#2,n$(t)
1060 input#2,n(t)
1070 ifst<>64thent=t+1:goto1050
1080 close2:close15
1090 print"[147][144][193]usgabe auf [194] [146] [201][160][204][160][196][160][211][160][195][160][200][160][201][160][210][160][205]":print" oder"
1100 print" [196] [146] [210][160][213][160][195][160][203][160][197][160][210] ?"
1110 getau$:ifau$<>"b"andau$<>"d"then1110
1111 ifau$="b"thenprint" [194][201][204][196][211][195][200][201][210][205] [146]":gosub60:ifge$="n"then1090
1112 ifau$="d"thenprint" [196][210][213][195][203][197][210] [146]":gosub60:ifge$="n"then1090
1120 ifau$="d"thengosub330:goto1200
1130 print"[147]":o=0:foru=1tot
1140 print" ";n$(u);spc(30-len(n$(u)))n(u):o=o+1
1150 ifo=22theno=0:gosub150:print"[147]";
1160 next:gosub150
1170 print"[147] [196]atei drucken ?"
1180 gosub30
1190 ifge$="j"thengosub330
1200 print"[147][206]och eine [196]atei ausgeben ?"
1210 gosub30
1220 ifge$="j"thenrun
1230 print" [158][206]eustart mit '[210][213][206]' !":end
1240 print"[147]":open1,8,0,"$":poke781,1:sys65478:geta$,a$:e$=chr$(0)
1250 geta$,a$,h$,l$:ifstthensys65484:close1:goto1290
1260 printasc(h$+e$)+256*asc(l$+e$);
1270 geta$,b$:ifa$thenprinta$b$;:goto1270
1280 printa$:goto1250
1290 gosub150:print"[147]":return